package com.paypal.android.a;

import android.content.Context;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.GradientDrawable;
import android.graphics.drawable.GradientDrawable.Orientation;
import android.graphics.drawable.StateListDrawable;
import android.widget.ImageView;
import android.widget.ImageView.ScaleType;
import android.widget.LinearLayout.LayoutParams;
import com.paypal.android.MEP.e;
import com.paypal.android.a.a.j;
import java.util.Hashtable;

public final class g
{
  // ERROR //
  public static Drawable a(int paramInt1, int paramInt2)
  {
    // Byte code:
    //   0: new 10	java/io/ByteArrayInputStream
    //   3: dup
    //   4: iload_0
    //   5: iload_1
    //   6: invokestatic 15	com/paypal/android/a/i:a	(II)[B
    //   9: invokespecial 19	java/io/ByteArrayInputStream:<init>	([B)V
    //   12: astore_2
    //   13: aload_2
    //   14: new 21	java/lang/StringBuilder
    //   17: dup
    //   18: invokespecial 24	java/lang/StringBuilder:<init>	()V
    //   21: ldc 26
    //   23: invokevirtual 30	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   26: iload_0
    //   27: invokevirtual 33	java/lang/StringBuilder:append	(I)Ljava/lang/StringBuilder;
    //   30: ldc 35
    //   32: invokevirtual 30	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   35: iload_1
    //   36: invokevirtual 33	java/lang/StringBuilder:append	(I)Ljava/lang/StringBuilder;
    //   39: invokevirtual 39	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   42: invokestatic 45	android/graphics/drawable/Drawable:createFromStream	(Ljava/io/InputStream;Ljava/lang/String;)Landroid/graphics/drawable/Drawable;
    //   45: astore 8
    //   47: aload 8
    //   49: astore 4
    //   51: aload_2
    //   52: invokevirtual 48	java/io/ByteArrayInputStream:close	()V
    //   55: aload 4
    //   57: areturn
    //   58: astore 11
    //   60: aconst_null
    //   61: astore_2
    //   62: aconst_null
    //   63: astore 4
    //   65: aload_2
    //   66: ifnull -11 -> 55
    //   69: aload_2
    //   70: invokevirtual 48	java/io/ByteArrayInputStream:close	()V
    //   73: aconst_null
    //   74: areturn
    //   75: astore 5
    //   77: aconst_null
    //   78: areturn
    //   79: astore 10
    //   81: aconst_null
    //   82: astore_2
    //   83: aload 10
    //   85: astore 6
    //   87: aload_2
    //   88: ifnull +7 -> 95
    //   91: aload_2
    //   92: invokevirtual 48	java/io/ByteArrayInputStream:close	()V
    //   95: aload 6
    //   97: athrow
    //   98: astore 9
    //   100: aload 4
    //   102: areturn
    //   103: astore 7
    //   105: goto -10 -> 95
    //   108: astore 6
    //   110: goto -23 -> 87
    //   113: astore_3
    //   114: goto -52 -> 62
    //
    // Exception table:
    //   from	to	target	type
    //   0	13	58	java/lang/Throwable
    //   69	73	75	java/lang/Throwable
    //   0	13	79	finally
    //   51	55	98	java/lang/Throwable
    //   91	95	103	java/lang/Throwable
    //   13	47	108	finally
    //   13	47	113	java/lang/Throwable
  }

  public static StateListDrawable a()
  {
    StateListDrawable localStateListDrawable = new StateListDrawable();
    GradientDrawable localGradientDrawable1 = new GradientDrawable(GradientDrawable.Orientation.TOP_BOTTOM, new int[] { -6733, -22016 });
    GradientDrawable localGradientDrawable2 = new GradientDrawable(GradientDrawable.Orientation.TOP_BOTTOM, new int[] { -211356, -1937101 });
    GradientDrawable localGradientDrawable3 = new GradientDrawable(GradientDrawable.Orientation.TOP_BOTTOM, new int[] { -803493, -3845098 });
    GradientDrawable localGradientDrawable4 = new GradientDrawable(GradientDrawable.Orientation.TOP_BOTTOM, new int[] { 2147272292, 2145546547 });
    localGradientDrawable1.setCornerRadius(5.0F);
    localGradientDrawable1.setStroke(1, -3637191);
    localGradientDrawable2.setCornerRadius(5.0F);
    localGradientDrawable2.setStroke(1, -1858224);
    localGradientDrawable3.setCornerRadius(5.0F);
    localGradientDrawable3.setStroke(1, -3042498);
    localGradientDrawable4.setCornerRadius(5.0F);
    localGradientDrawable4.setStroke(1, 2145625424);
    localStateListDrawable.addState(new int[] { 16842910, -16842919, -16842908 }, localGradientDrawable1);
    localStateListDrawable.addState(new int[] { 16842910, -16842919, 16842908 }, localGradientDrawable2);
    localStateListDrawable.addState(new int[] { 16842910, 16842919, -16842908 }, localGradientDrawable3);
    localStateListDrawable.addState(new int[] { 16842910, 16842919, 16842908 }, localGradientDrawable3);
    localStateListDrawable.addState(new int[] { -16842910, -16842919, -16842908 }, localGradientDrawable4);
    localStateListDrawable.addState(new int[] { -16842910, -16842919, 16842908 }, localGradientDrawable4);
    localStateListDrawable.addState(new int[] { -16842910, 16842919, -16842908 }, localGradientDrawable4);
    localStateListDrawable.addState(new int[] { -16842910, 16842919, 16842908 }, localGradientDrawable4);
    return localStateListDrawable;
  }

  public static ImageView a(Context paramContext, String paramString)
  {
    ImageView localImageView = new ImageView(paramContext);
    Drawable localDrawable = a(((Integer)j.a.get(paramString)).intValue(), ((Integer)j.b.get(paramString)).intValue());
    localImageView.setLayoutParams(new LinearLayout.LayoutParams((int)(localDrawable.getIntrinsicWidth() * Math.pow(e.a().B(), 2.0D)), (int)(localDrawable.getIntrinsicHeight() * Math.pow(e.a().B(), 2.0D))));
    localImageView.setImageDrawable(localDrawable);
    localImageView.setScaleType(ImageView.ScaleType.FIT_XY);
    return localImageView;
  }

  public static StateListDrawable b()
  {
    StateListDrawable localStateListDrawable = new StateListDrawable();
    GradientDrawable localGradientDrawable1 = new GradientDrawable(GradientDrawable.Orientation.TOP_BOTTOM, new int[] { -197380, -3355444 });
    GradientDrawable localGradientDrawable2 = new GradientDrawable(GradientDrawable.Orientation.TOP_BOTTOM, new int[] { -3487030, -6645094 });
    GradientDrawable localGradientDrawable3 = new GradientDrawable(GradientDrawable.Orientation.TOP_BOTTOM, new int[] { -7302507, -10395036 });
    GradientDrawable localGradientDrawable4 = new GradientDrawable(GradientDrawable.Orientation.TOP_BOTTOM, new int[] { 2143996618, 2140838554 });
    localGradientDrawable1.setCornerRadius(5.0F);
    localGradientDrawable1.setStroke(1, -10066330);
    localGradientDrawable2.setCornerRadius(5.0F);
    localGradientDrawable2.setStroke(1, -12303292);
    localGradientDrawable3.setCornerRadius(5.0F);
    localGradientDrawable3.setStroke(1, -13421773);
    localGradientDrawable4.setCornerRadius(5.0F);
    localGradientDrawable4.setStroke(1, 2135180356);
    localStateListDrawable.addState(new int[] { 16842910, -16842919, -16842908 }, localGradientDrawable1);
    localStateListDrawable.addState(new int[] { 16842910, -16842919, 16842908 }, localGradientDrawable2);
    localStateListDrawable.addState(new int[] { 16842910, 16842919, -16842908 }, localGradientDrawable3);
    localStateListDrawable.addState(new int[] { 16842910, 16842919, 16842908 }, localGradientDrawable3);
    localStateListDrawable.addState(new int[] { -16842910, -16842919, -16842908 }, localGradientDrawable4);
    localStateListDrawable.addState(new int[] { -16842910, -16842919, 16842908 }, localGradientDrawable4);
    localStateListDrawable.addState(new int[] { -16842910, 16842919, -16842908 }, localGradientDrawable4);
    localStateListDrawable.addState(new int[] { -16842910, 16842919, 16842908 }, localGradientDrawable4);
    return localStateListDrawable;
  }
}

/* Location:           D:\Studium\Bachelorarbeit\BA Marcus Wobig\BA\BA\Decompiler\PicturePassword APK\Programm\PicturePassword_dex2jar.jar
 * Qualified Name:     com.paypal.android.a.g
 * JD-Core Version:    0.6.2
 */